<template>
    <div style="background-color: pink;">
        <p>女</p>
        <button @click="$emit('girl',66)">向你爹汇报</button>
        <p>我有钱，赏给给老爹金库一点<button @click.once="store.increment(1000)">赏</button></p>
    </div>
</template>

<script>
import  {useMyStore} from '../store/myStore.js'
export default {
    data() {
        return {
            store:useMyStore(),
        }
    },
}
</script>

